GetGlobalStringV returns erroneous values when WaveSFEvent is passed

Tech Note: TN0274
Product: OpenDeveloper
Version: < 68
Date Added: 2008-01-25

Issue

When calling the GetGlobalStringV method, assigning a four-character string (such as an event name) to the WaveSFEvent global parameter causes erroneous values to be returned along with the assigned string.

Workaround

Instead of assigning the event name to WaveSFEvent use the event code. To do this, use the StringToEvCode and SetGlobalV methods. For Example:

MyEvent = TTX.StringToEvCode('Snip') ;
TTX.SetGlobalV('WaveSFEvent', MyEvent);

Solution

Update to OpenDeveloper version 68 or greater.